package com.xiaoq.positionmarket.vo;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.xiaoq.positionmarket.entity.CityInfo;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * Created by chenjh on 2018/4/2.
 *  距离营销
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE, setterVisibility = JsonAutoDetect.Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class PositionMarket4InsertVo {

    @ApiModelProperty(name = "title", value = "消息(标题)内容", position=0)
    private String title;

    @ApiModelProperty(name = "type", value = "营销类型 1,距景区范围 2，按城市", position=10)
    private Integer type;

    @ApiModelProperty(name = "rangeDay", value = "时间范围(0当天,1今天,近2天)", position=20)
    private Integer rangeDay;

    @ApiModelProperty(name = "rangeM", value = "距离范围(米). 5km以下，10km. 20km以下，50km以下", position=30)
    private Integer rangeM;

    @ApiModelProperty(name = "selectType", value = "5:活动海报，6 旅行头条，7 优惠券", position=40)
    private Integer selectType;

    @ApiModelProperty(name = "selectId", value = "可能是活动ID，旅行头条ID，优惠券Id", position=50)
    private String selectId;

    @ApiModelProperty(name = "selectTitle", value = "可能是活动标题，旅行头条标题，优惠券标题", position=60)
    private String selectTitle;

    @ApiModelProperty(name = "triggerType", value = "0：立即推送，1 定时推送", position=70)
    private Integer triggerType;

    @ApiModelProperty(name = "triggerTimeStr", value = "发送(触发)时间(yyyy-MM-dd HH:mm)", position=80)
    private String triggerTimeStr;

    @ApiModelProperty(name = "cityList", value = "城市相关", position=90)
    private List<CityInfo> cityList;

    @ApiModelProperty(name = "selectImgUrl", value = "选择的图片URL", position=100)
    private String selectImgUrl;//

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getRangeDay() {
        return rangeDay;
    }

    public void setRangeDay(Integer rangeDay) {
        this.rangeDay = rangeDay;
    }

    public Integer getRangeM() {
        return rangeM;
    }

    public void setRangeM(Integer rangeM) {
        this.rangeM = rangeM;
    }

    public Integer getSelectType() {
        return selectType;
    }

    public void setSelectType(Integer selectType) {
        this.selectType = selectType;
    }

    public String getSelectId() {
        return selectId;
    }

    public void setSelectId(String selectId) {
        this.selectId = selectId;
    }

    public String getSelectTitle() {
        return selectTitle;
    }

    public void setSelectTitle(String selectTitle) {
        this.selectTitle = selectTitle;
    }

    public Integer getTriggerType() {
        return triggerType;
    }

    public void setTriggerType(Integer triggerType) {
        this.triggerType = triggerType;
    }

    public String getTriggerTimeStr() {
        return triggerTimeStr;
    }

    public void setTriggerTimeStr(String triggerTimeStr) {
        this.triggerTimeStr = triggerTimeStr;
    }

    public List<CityInfo> getCityList() {
        return cityList;
    }

    public void setCityList(List<CityInfo> cityList) {
        this.cityList = cityList;
    }

    public String getSelectImgUrl() {
        return selectImgUrl;
    }

    public void setSelectImgUrl(String selectImgUrl) {
        this.selectImgUrl = selectImgUrl;
    }
}
